<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>min-device-width</title>
    <style>
        body{
            background-color: red;
        }
        /* @media screen and (min-width:768px){
            body{
            background-color: blue;
            }
        }
        @media screen and (min-width:992px){
            body{
            background-color: orange;
            }
        } */

        /* 
        min-device-width  设备最小宽度
        min-width 浏览器 和 设备 都起作用   可视区域
         */
        @media screen and (min-device-width:768px){
            body{
                background-color: blue;
            }
        }
        @media screen and (min-device-width:992px){
            body{
                background-color: orange;
            }
        }
    </style>
</head>
<body>
    
</body>
</html>